﻿using Fishing.Abstractions;
using System.Windows.Input;

namespace Fishing.Core
{
    internal class KeyBoardHookService : IKeyBoardHookService
    {
        private bool _updaterHook = false;

        public bool IsOnlyMainHook() => !_updaterHook;

        public void EnableOnlyMainHook()
        {
            Mouse.OverrideCursor = null;
            _updaterHook = false;
        }

        public void EnableAllHook()
        {
            Mouse.OverrideCursor = Cursors.None;
            _updaterHook = true;
        }
    }
}